package cn.tedu.goods.management.service;



import cn.tedu.common.pojo.authentication.CurrentPrincipal;
import cn.tedu.goods.management.pojo.param.GoodsAddNewParam;
import cn.tedu.goods.management.pojo.param.GoodsAvatarParam;
import cn.tedu.goods.management.pojo.param.GoodsUpdateParam;
import cn.tedu.goods.management.pojo.vo.GoodsListForUserVO;
import cn.tedu.goods.management.pojo.vo.GoodsListItemVO;

import java.util.List;

public interface IGoodsService {
    void addNew(GoodsAddNewParam goodsAddNewParam);

    List<GoodsListItemVO> selectGoodsList();

    List<GoodsListForUserVO> selectGoodsListForUser();

    void deleteById(Long id);

    int updateById(GoodsUpdateParam goodsUpdateParam);

    void avatar(String goodNames, GoodsAvatarParam goodsAvatarParam);

}
